package com.itheima.thread01;

public class MyThread extends Thread {
    @Override
    public void run() {
        //代码是线程开启时开始执行的代码
        for (int i = 0; i < 100; i++) {
            System.out.println("第一种方法"+i);
        }
    }
}
